/* pred samotnym definovanim hlavicky entries.h, je nutne
 * includovat hlavicku dirs.h */
#ifndef __CORE_FILESYS_DIRS_H__
#include <core/filesys/dirs.h>
#endif
#ifndef __CORE_FILESYS_ENTRIES_H__
#define __CORE_FILESYS_ENTRIES_H__

/**
 *  core/filesys/entries.h
 *  funkce pro praci se zaznamy v souborovem systemu FAT12
 */

#include <core/filesys/dirs.h>

unsigned int  fat_get_last_cluster_of_file        (unsigned int cluster);
unsigned int  fat_get_last_cluster_of_actual_dir  (void);
void          fat_edit_entry_by_cluster           (DirectoryEntry far *sfile, unsigned int cluster, unsigned int pos);
char far *    fat_entry_assign                    (char far *memfile, char far *filename, char attr);
void          fat_associate_entry                 (const char far *mem, DirectoryEntry far *sfile);

#include <core/memory/alloc.h>
#include <core/datetime/date.h>
#include <core/datetime/time.h>
#include <core/init.h>
#include <source/core/filesys/entries.c>

#endif
